﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CateringCommon
{
    public class PageBase : System.Web.UI.Page
    {
        public UserContext WebUserContext { set; get; }

        public string ApplicationPath
        {
            get
            {
                return HttpContext.Current.Request.ApplicationPath;
            }
        }

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            Common.InitUserContext(HttpContext.Current);
        }
    }
}